﻿@model IEnumerable<KRM.Core.tblTempRDMOrderItemPart>
@if (Model != null)
{
    @Html.Partial("Partial/_MessageResult")
    <table class="table table-bordered table-fix">
        <thead>
            <tr>
                <th></th>
                <th>PartName</th>
                <th>DeliveryType</th>
                <th>PartQuantity</th>
                <th>PartID</th>
                <th>SentStockID</th>
            </tr>
        </thead>
        <tbody>
            @foreach (var item in Model)
            {
                <tr>
                    <td><input type="checkbox" name="selectorderitempart" value="@item.TempRDMOrderItemPartID"/></td>
                    <td>@item.PartName</td>
                    <td>@item.DeliveryType</td>
                    <td>@item.PartQuantity</td>
                    <td>@item.PartID</td>
                    <td></td>
                </tr>
            }
        </tbody>
    </table>
}
else
{
    @Html.Partial("Partial/_MessageResult")
}
